import provincialLevel from "../utils/provincialLevel"

// 处理原始数据，增加disabled属性，默认false（这里只写思路，默认所有数据有且只有3级，真实情况如果复杂，可以考虑递归设置）
for (const l1 of provincialLevel.result) {
    l1.disabled = false
    for (const l2 of l1.children) {
      l2.disabled = false
      for (const l3 of l2.children) {
        l3.disabled = false
      }
    }
}

export const areaData = {

    data() {
        return {
            areaProps: provincialLevel.result 
        }
    },
}